//
//  ArraneFiveViewController.m
//  WangLottery
//
//  Created by 黄修勇 on 12-4-30.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "ArraneFiveViewController.h"
#import <QuartzCore/QuartzCore.h>

@interface ArraneFiveViewController ()

@end

@implementation ArraneFiveViewController


@synthesize buttonBackView=_buttonBackView;

-(void)dealloc{

    [_buttonBackView release];
    [super dealloc];
}

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
        
        self.hidesBottomBarWhenPushed=YES;
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    
    _buttonBackView.layer.cornerRadius=6.0f;
    _buttonBackView.layer.backgroundColor=[UIColor colorWithRed:1.0f green:1.0f blue:1.0f alpha:0.4f].CGColor;
    // Do any additional setup after loading the view from its nib.
}

- (void)viewDidUnload
{
    [super viewDidUnload];
    // Release any retained subviews of the main view.
    // e.g. self.myOutlet = nil;
}

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
}

- (IBAction)randomSelcet{

    [arranFive randomNumber];
    
}

@end
